/*
 * @Description: 
 * @Author: charles
 * @Date: 2021-11-19 11:03:46
 * @LastEditors: charles
 * @LastEditTime: 2021-11-19 11:06:19
 */
class Person {
  // 成员属性
  name:string;
  age:number;
  // 成员方法
  sayName(){
    console.log('myname is',this.name);
  }
  // 静态属性
  static num=1;
  static foo(){
    console.log('static foo',this.num);
  }
}